Optimal. Leaf size=75 \[ -\frac {4 \cot (c+d x) \sqrt {\sec (c+d x)-1} \sqrt {\sec (c+d x)+1} \Pi \left (\frac {1}{3};\sin ^{-1}\left (\frac {\sqrt {3 \cos (c+d x)-2}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right )}{3 \sqrt {5} d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.040, Rules used = {2809} \[ -\frac {4 \cot (c+d x) \sqrt {\sec (c+d x)-1} \sqrt {\sec (c+d x)+1} \Pi \left (\frac {1}{3};\sin ^{-1}\left (\frac {\sqrt {3 \cos (c+d x)-2}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right )}{3 \sqrt {5} d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2809
Rubi steps
\begin {align*} \int \frac {\sqrt {\cos (c+d x)}}{\sqrt {-2+3 \cos (c+d x)}} \, dx &=-\frac {4 \cot (c+d x) \Pi \left (\frac {1}{3};\sin ^{-1}\left (\frac {\sqrt {-2+3 \cos (c+d x)}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right ) \sqrt {-1+\sec (c+d x)} \sqrt {1+\sec (c+d x)}}{3 \sqrt {5} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.69, size = 140, normalized size = 1.87 \[ -\frac {4 \cos ^2\left (\frac {1}{2} (c+d x)\right ) \sqrt {\frac {\cos (c+d x)}{\cos (c+d x)+1}} \sqrt {\frac {3 \cos (c+d x)-2}{\cos (c+d x)+1}} \left (F\left (\sin ^{-1}\left (\sqrt {5} \tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {1}{5}\right )-2 \Pi \left (-\frac {1}{5};\sin ^{-1}\left (\sqrt {5} \tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {1}{5}\right )\right )}{\sqrt {5} d \sqrt {\cos (c+d x)} \sqrt {3 \cos (c+d x)-2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 2.19, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {\cos \left (d x + c\right )}}{\sqrt {3 \, \cos \left (d x + c\right ) - 2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\cos \left (d x + c\right )}}{\sqrt {3 \, \cos \left (d x + c\right ) - 2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.18, size = 132, normalized size = 1.76 \[ -\frac {2 \left (\EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right )-2 \EllipticPi \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, -1, \sqrt {5}\right )\right ) \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \left (\sin ^{2}\left (d x +c \right )\right )}{d \sqrt {-2+3 \cos \left (d x +c \right )}\, \left (-1+\cos \left (d x +c \right )\right ) \sqrt {\cos \left (d x +c \right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\cos \left (d x + c\right )}}{\sqrt {3 \, \cos \left (d x + c\right ) - 2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\sqrt {\cos \left (c+d\,x\right )}}{\sqrt {3\,\cos \left (c+d\,x\right )-2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\cos {\left (c + d x \right )}}}{\sqrt {3 \cos {\left (c + d x \right )} - 2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________